// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.asset;

import java.io.File;
import zombie.fileSystem.FileSystem;
import zombie.fileSystem.FileTask;
import zombie.fileSystem.IFileTaskCallback;

public final class FileTask_Exists extends FileTask {
    String fileName;

    public FileTask_Exists(String _fileName, IFileTaskCallback cb, FileSystem fileSystem) {
        super(fileSystem, cb);
        this.fileName = _fileName;
    }

    @Override
    public void done() {
    }

    public Object call() throws Exception {
        return new File(this.fileName).exists();
    }
}
